﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bootstrap.MVC.Common;

namespace Bootstrap.MVC.Widgets
{
    public class DropDownItemModel : EventHandlerModelBase, IDropDownItemModel
    {
        public string Url { set; get; }
        public bool Divider { set; get; }
        public IDropDownMenuModel SubMenu { set; get; }
        public LeftOrRight Position { set; get; }

        public DropDownItemModel()
        {
            SubMenu = new DropDownMenuModel();
            Position = LeftOrRight.Right;
        }
    }

    public interface IDropDownItemModel : IEventHandlerModelBase
    {
        string Url { set; get; }
        bool Divider { set; get; }
        IDropDownMenuModel SubMenu { set; get; }
        LeftOrRight Position { set; get; }
    }
}
